#ifndef CROWBAR_SCREEN_H_INCLUDED
#define CROWBAR_SCREEN_H_INCLUDED


#include "crowbar.h"

class Screen
{
private:
	static const int COLUMNS = 80;
	static const int ROWS = 40;
	static HFONT hfont;

	HWND hwnd;
	int m_cursor_col;
	int m_cursor_row;
	char m_text_rows[ROWS][COLUMNS];

	static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
	void PutChar(char ch);

public:
	Screen();

	void Print(const char * text);
};


extern Screen TheScreen;




#endif // CROWBAR_SCREEN_H_INCLUDED